from gis.common.exceptions import BizErrorCode

ERROR_RECEIPT_CONF_NOT_SUPPORTED = BizErrorCode(3001, '收款账户组合配置错误, 请确认你的支付方式和收款方式是否匹配')
ERROR_RECEIPT_ADDRESS_NOT_EXISTS = BizErrorCode(3002, '收款账户不存在')
ERROR_USER_NAME_DUPLICATE = BizErrorCode(3003, '代理用户名已存在')
ERROR_AGENCY_NOT_EXISTS = BizErrorCode(3004, '代理账户不存在')
ERROR_AGENCY_RECHARGE_APPLY_NOT_EXISTS = BizErrorCode(3005, '代理充值申请')
ERROR_NORMAL_AGENCY_NOT_HAVE_PARENT = BizErrorCode(3006, '创建子代理需要总代id')
ERROR_REFUSE_AGENCY_RECHARGE_STATUS = BizErrorCode(3007, '拒绝代理充值状态错误')
ERROR_AGREE_AGENCY_RECHARGE_STATUS = BizErrorCode(3008, '同意代理充值状态错误')
ERROR_AGREE_TYPE = BizErrorCode(3009, '代理类型错误')
ERROR_BALANCE_NOT_ENOUGH = BizErrorCode(3010, '代理余额不足')
ERROR_BALANCE_NOT_ENOUGH_GO_TO_WORK = BizErrorCode(3010, '余额不足2000,无法上班')
ERROR_NORMAL_AGENCY_CREATE = BizErrorCode(3011, '子代不能创建代理')
ERROR_AGENCY_NOT_WORKING = BizErrorCode(3012, '代理当前不在线，若要充值请联系其他代理！')

ERROR_BANK_CARD_NOT_EXISTS = BizErrorCode(3201, '银行卡不存在')
ERROR_AGREE_AGENCY_NOT_BELONG = BizErrorCode(3209, '该代理不属于您下级')
ERROR_USER_DISABLED = BizErrorCode(3210, '用户已被禁用')
ERROR_USER_PASSWORD_INCORRECT = BizErrorCode(3211, '密码不正确')
ERROR_USER_TOKEN_NOT_EXISTS = BizErrorCode(3212, 'Token不存在')
ERROR_TOKEN_PARAM_EXISTS = BizErrorCode(3213, 'Token参数缺失')
ERROR_IP_NOT_IN_WHITE = BizErrorCode(3214, 'IP不在白名单中')
ERROR_VCODE_EMPTY = BizErrorCode(3215, '验证码为空')
ERROR_VCODE_INCORRECT = BizErrorCode(3216, '验证码错误')
ERROR_AGENCY_INFO_AUTH = BizErrorCode(3217, '无权修改其他代理信息')
ERROR_AGENCY_TOKEN_EXPIRE = BizErrorCode(3218, 'Token失效或错误')

ERROR_AGENCY_BALANCE_NOT_ENOUGH = BizErrorCode(3101, '代理余额不足')
ERROR_COMPLAIN_NOT_EXISTS = BizErrorCode(3102, '投诉数据不存在')
ERROR_COMPLAIN_STATUS = BizErrorCode(3103, '投诉状态错误')
ILLEGAL_PARAMETER = BizErrorCode(3104, '参数错误')
ERROR_HAD_COMPLAIN_TODAY = BizErrorCode(3105, '您今天已经投诉过该代理')

ERROR_AGENCY_QUICK_REPLY_NOT_EXISTS = BizErrorCode(3401, '代理快捷回复不存在')
ERROR_AGENCY_QUICK_REPLY_COUNT_LIMIT = BizErrorCode(3402, '代理快捷回复数目已到上限')

ERROR_NEED_MANUAL_SEND_RECEIPT = BizErrorCode(3301, '用户级别达不到代理设置的账户自动下发要求')
ERROR_USER_NO_MATCH_RECEIPT_ADDRESS = BizErrorCode(3302, '当前没有可用的收款账户')
ERROR_AGENT_DISABLE = BizErrorCode(3303, '当前代理被禁用，请选择其他代理充值')
ERROR_USER_IN_BLACKLIST = BizErrorCode(3304, '代理已拉黑用户')
